package com.hnfnu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 捐助情况表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Donations implements Serializable {
    //捐助订单id
    private Long id;
    //交易订单号
    private String tradeNo;
    //捐助金额
    private Double amount;
    //捐赠者 id
    private Integer userId;
    //捐助者名字
    private  String username;
    //捐助者留言
    private String message;
    //捐助项目id
    private Integer projectId;
    //捐助时间
    private Date createTime;
    //0为未支付1为已支付
    private String status;
    // 是否被使用
    private Integer spend;
}
